package com.zmj.sy.mom.srv.aps.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zmj.sy.mom.srv.aps.bean.entity.order.ApsBatch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * @Description: 订单一致性对比
 *
 * @author: hejiahui
 * @since: 2024/9/13 8:49
 */
@Mapper
public interface OrderCompareMapper extends BaseMapper<ApsBatch> {
    /**
     * @Description: 获取erp订单bom
     *
     * @author: hejiahui
     * @since: 2024/9/13 9:59
     */
    List<Map<String, Object>> getErpOrderBom(@Param(Constants.WRAPPER) QueryWrapper<?> erpBomQuery);
    /**
     * @Description: 获取nest订单bom
     *
     * @author: hejiahui
     * @since: 2024/9/14 14:28
     */
    List<Map<String, Object>> getNestBom(@Param(Constants.WRAPPER) QueryWrapper<?> erpBomQuery);
}
